# near model CODE resource # entry label at 0x0000 export_0: entry: 00000000 4EBA 0780 jsr [PC + 0x780 /* 00000782 */] 00000004 4E56 0000 link A6, 0 00000008 2C5F movea.l A6, [A7]+ 0000000A 4EBA 0778 jsr [PC + 0x778 /* 00000784 */] 0000000E 4A80 tst.l D0 00000010 6702 beq +0x4 /* 00000014 */ 00000012 4E75 rts label00000014: 00000014 486D 02B2 pea.l [A5 + 0x2B2] 00000018 A9F1 trap UnloadSeg 0000001A 2F3C 0000 FFFF move.l -[A7], 0xFFFF 00000020 201F move.l D0, [A7]+ 00000022 A032 trap FlushEvents 00000024 486D FE48 pea.l [A5 - 0x1B8] 00000028 A86E trap InitGraf 0000002A A8FE trap InitFonts 0000002C A912 trap InitWindows 0000002E A930 trap InitMenus 00000030 A9CC trap TEInit 00000032 486D 02A2 pea.l [A5 + 0x2A2] 00000036 A97B trap InitDialogs 00000038 4EAD 027A jsr [A5 + 0x27A] 0000003C 4EAD 0292 jsr [A5 + 0x292] 00000040 4EAD 028A jsr [A5 + 0x28A] 00000044 4EAD 0282 jsr [A5 + 0x282] 00000048 4AAD D832 tst.l [A5 - 0x27CE] 0000004C 671C beq +0x1E /* 0000006A */ 0000004E 2F3C C800 0000 move.l -[A7], 0xC8000000 00000054 A8FD trap PrGlue 00000056 2F2D D832 move.l -[A7], [A5 - 0x27CE] 0000005A 2F3C 2004 0480 move.l -[A7], 0x20040480 00000060 A8FD trap PrGlue 00000062 2F3C D000 0000 move.l -[A7], 0xD0000000 00000068 A8FD trap PrGlue label0000006A: 0000006A 486D 027A pea.l [A5 + 0x27A] 0000006E A9F1 trap UnloadSeg 00000070 4EAD 029A jsr [A5 + 0x29A] 00000074 2F2D FC46 move.l -[A7], [A5 - 0x3BA] 00000078 A916 trap HideWindow 0000007A 4EBA 076A jsr [PC + 0x76A /* 000007E6 */] 0000007E 4EBA 076C jsr [PC + 0x76C /* 000007EC */] 00000082 4E75 rts 00000084 4E5E unlink A6 00000086 4E75 rts fn00000088: 00000088 4E56 FFFC link A6, -0x0004 0000008C 48E7 0318 movem.l -[A7], D6,D7,A3,A4 00000090 4A6D FEA2 tst.w [A5 - 0x15E] 00000094 6600 00BC bne +0xBE /* 00000152 */ 00000098 598F subq.l A7, 4 0000009A 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 000000A0 486D FE4C pea.l [A5 - 0x1B4] 000000A4 A820 trap Get1NamedResource 000000A6 285F movea.l A4, [A7]+ 000000A8 200C move.l D0, A4 000000AA 6700 00A6 beq +0xA8 /* 00000152 */ 000000AE 558F subq.l A7, 2 000000B0 A994 trap CurResFile 000000B2 558F subq.l A7, 2 000000B4 2F0C move.l -[A7], A4 000000B6 A9A4 trap HomeResFile 000000B8 301F move.w D0, [A7]+ 000000BA B05F cmp.w D0, [A7]+ 000000BC 6600 0094 bne +0x96 /* 00000152 */ 000000C0 41ED 002A lea.l A0, [A5 + 0x2A] 000000C4 226D FEBE movea.l A1, [A5 - 0x142] 000000C8 2348 000C move.l [A1 + 0xC], A0 000000CC 2654 movea.l A3, [A4] 000000CE 3013 move.w D0, [A3] 000000D0 0800 0000 btst.b D0, 0x0 000000D4 6708 beq +0xA /* 000000DE */ 000000D6 3B7C 0028 FEA0 move.w [A5 - 0x160], 0x28 /* '(' */ 000000DC 6006 bra +0x8 /* 000000E4 */ label000000DE: 000000DE 3B7C 0004 FEA0 move.w [A5 - 0x160], 0x4 label000000E4: 000000E4 598F subq.l A7, 4 000000E6 2F0C move.l -[A7], A4 000000E8 4EBA 0440 jsr [PC + 0x440 /* 0000052A */] 000000EC 302D FEA0 move.w D0, [A5 - 0x160] 000000F0 48C0 ext.l D0 000000F2 221F move.l D1, [A7]+ 000000F4 9280 sub.l D1, D0 000000F6 2001 move.l D0, D1 000000F8 7204 moveq.l D1, 0x04 000000FA 4EBA 0378 jsr [PC + 0x378 /* 00000474 */] 000000FE 2C00 move.l D6, D0 00000100 7000 moveq.l D0, 0x00 00000102 2640 movea.l A3, D0 00000104 6036 bra +0x38 /* 0000013C */ label00000106: 00000106 2F0C move.l -[A7], A4 00000108 A9A2 trap LoadResource 0000010A 302D FEA0 move.w D0, [A5 - 0x160] 0000010E 48C0 ext.l D0 00000110 D094 add.l D0, [A4] 00000112 2D40 FFFC move.l [A6 - 0x4], D0 00000116 302D FEA2 move.w D0, [A5 - 0x15E] 0000011A 48C0 ext.l D0 0000011C 206E FFFC movea.l A0, [A6 - 0x4] 00000120 E580 asl D0, 2 00000122 3030 0800 move.w D0, [A0 + D0] 00000126 48C0 ext.l D0 00000128 2E00 move.l D7, D0 0000012A 6708 beq +0xA /* 00000134 */ 0000012C 200D move.l D0, A5 0000012E 2640 movea.l A3, D0 00000130 D7C7 add.l A3, D7 00000132 4E93 jsr [A3] label00000134: 00000134 302D FEA2 move.w D0, [A5 - 0x15E] 00000138 526D FEA2 addq.w [A5 - 0x15E], 1 label0000013C: 0000013C 302D FEA2 move.w D0, [A5 - 0x15E] 00000140 48C0 ext.l D0 00000142 BC80 cmp.l D6, D0 00000144 6EC0 bgt -0x3E /* 00000106 */ 00000146 200B move.l D0, A3 00000148 6704 beq +0x6 /* 0000014E */ 0000014A 2F0B move.l -[A7], A3 0000014C A9F1 trap UnloadSeg label0000014E: 0000014E 2F0C move.l -[A7], A4 00000150 A9A3 trap ReleaseResource label00000152: 00000152 4CEE 18C0 FFEC movem.l A4,A3,D7,D6, [A6 - 0x14] 00000158 4E5E unlink A6 0000015A 4E75 rts 0000015C 8B5F or.w [A7]+, D5 0000015E 5F43 subq.w D3, 7 00000160 706C moveq.l D0, 0x6C 00000162 7573 moveq.l D2, 0x73 00000164 496E 6974 chk.w D4, [A6 + 0x6974] 00000168 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_1: // at 0000016A (misaligned) 0000016C FFFC .extension 0xFFC // unimplemented 0000016E 48E7 0118 movem.l -[A7], D7,A3,A4 00000172 4A6D FEA2 tst.w [A5 - 0x15E] 00000176 6764 beq +0x66 /* 000001DC */ 00000178 598F subq.l A7, 4 0000017A 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 00000180 486D FE76 pea.l [A5 - 0x18A] 00000184 A9A1 trap GetNamedResource 00000186 285F movea.l A4, [A7]+ 00000188 200C move.l D0, A4 0000018A 6750 beq +0x52 /* 000001DC */ 0000018C 558F subq.l A7, 2 0000018E A994 trap CurResFile 00000190 558F subq.l A7, 2 00000192 2F0C move.l -[A7], A4 00000194 A9A4 trap HomeResFile 00000196 301F move.w D0, [A7]+ 00000198 B05F cmp.w D0, [A7]+ 0000019A 6640 bne +0x42 /* 000001DC */ 0000019C 6034 bra +0x36 /* 000001D2 */ label0000019E: 0000019E 2F0C move.l -[A7], A4 000001A0 A9A2 trap LoadResource 000001A2 302D FEA0 move.w D0, [A5 - 0x160] 000001A6 48C0 ext.l D0 000001A8 D094 add.l D0, [A4] 000001AA 2D40 FFFC move.l [A6 - 0x4], D0 000001AE 536D FEA2 subq.w [A5 - 0x15E], 1 000001B2 302D FEA2 move.w D0, [A5 - 0x15E] 000001B6 48C0 ext.l D0 000001B8 206E FFFC movea.l A0, [A6 - 0x4] 000001BC E580 asl D0, 2 000001BE 3030 0802 move.w D0, [A0 + D0 + 0x2] 000001C2 48C0 ext.l D0 000001C4 2E00 move.l D7, D0 000001C6 200D move.l D0, A5 000001C8 2640 movea.l A3, D0 000001CA D7C7 add.l A3, D7 000001CC 4A87 tst.l D7 000001CE 6702 beq +0x4 /* 000001D2 */ 000001D0 4E93 jsr [A3] label000001D2: 000001D2 4A6D FEA2 tst.w [A5 - 0x15E] 000001D6 6EC6 bgt -0x38 /* 0000019E */ 000001D8 2F0C move.l -[A7], A4 000001DA A9A3 trap ReleaseResource label000001DC: 000001DC 4CEE 1880 FFF0 movem.l A4,A3,D7, [A6 - 0x10] 000001E2 4E5E unlink A6 000001E4 4E75 rts 000001E6 8964 or.w -[A4], D4 000001E8 746F moveq.l D2, 0x6F 000001EA 7273 moveq.l D1, 0x73 000001EC 5F5F subq.w [A7]+, 7 000001EE 4676 0000 not.w [A6 + D0.w] fn000001F2: 000001F2 4E56 0000 link A6, 0 000001F6 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4 000001FA 2E2E 0018 move.l D7, [A6 + 0x18] 000001FE 266E 000C movea.l A3, [A6 + 0xC] 00000202 4EAD 02BA jsr [A5 + 0x2BA] 00000206 4A80 tst.l D0 00000208 6706 beq +0x8 /* 00000210 */ 0000020A 70FF moveq.l D0, 0xFFFFFFFF 0000020C 6000 01C8 bra +0x1CA /* 000003D6 */ label00000210: 00000210 206D FEBE movea.l A0, [A5 - 0x142] 00000214 20AE 0008 move.l [A0], [A6 + 0x8] 00000218 7601 moveq.l D3, 0x01 0000021A 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */] 0000021E 672C beq +0x2E /* 0000024C */ 00000220 7001 moveq.l D0, 0x01 00000222 C0B8 0316 and.l D0, [0x00000316 /* HpChk/MacPgm */] 00000226 6624 bne +0x26 /* 0000024C */ 00000228 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 0000022C 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */ 00000232 6618 bne +0x1A /* 0000024C */ 00000234 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 00000238 4AA8 0004 tst.l [A0 + 0x4] 0000023C 670E beq +0x10 /* 0000024C */ 0000023E 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 00000242 2068 0004 movea.l A0, [A0 + 0x4] 00000246 4A50 tst.w [A0] 00000248 6702 beq +0x4 /* 0000024C */ 0000024A 7600 moveq.l D3, 0x00 label0000024C: 0000024C 4883 ext.w D3 0000024E 48C3 ext.l D3 00000250 2B43 FEA4 move.l [A5 - 0x15C], D3 00000254 6760 beq +0x62 /* 000002B6 */ 00000256 41ED FF78 lea.l A0, [A5 - 0x88] 0000025A 43F8 0910 lea.l A1, [0x00000910 /* CurApName */] 0000025E 7007 moveq.l D0, 0x07 label00000260: 00000260 20D9 move.l [A0]+, [A1]+ 00000262 51C8 FFFC dbf D0, -0x6 /* 00000260 */ 00000266 30D9 move.w [A0]+, [A1]+ 00000268 41ED FF78 lea.l A0, [A5 - 0x88] 0000026C 226D FEAE movea.l A1, [A5 - 0x152] 00000270 2288 move.l [A1], A0 00000272 4A87 tst.l D7 00000274 660E bne +0x10 /* 00000284 */ 00000276 598F subq.l A7, 4 00000278 206D FEAE movea.l A0, [A5 - 0x152] 0000027C 2F10 move.l -[A7], [A0] 0000027E 4EBA 04E6 jsr [PC + 0x4E6 /* 00000766 */] 00000282 584F addq.w A7, 4 label00000284: 00000284 200B move.l D0, A3 00000286 6704 beq +0x6 /* 0000028C */ 00000288 7001 moveq.l D0, 0x01 0000028A 2680 move.l [A3], D0 label0000028C: 0000028C 4AAE 0010 tst.l [A6 + 0x10] 00000290 6708 beq +0xA /* 0000029A */ 00000292 206E 0010 movea.l A0, [A6 + 0x10] 00000296 20AD FEAE move.l [A0], [A5 - 0x152] label0000029A: 0000029A 4AAE 0014 tst.l [A6 + 0x14] 0000029E 6708 beq +0xA /* 000002A8 */ 000002A0 206E 0014 movea.l A0, [A6 + 0x14] 000002A4 20AD FEB2 move.l [A0], [A5 - 0x14E] label000002A8: 000002A8 4EBA FDDE jsr [PC - 0x222 /* 00000088 */] 000002AC 7001 moveq.l D0, 0x01 000002AE 2B40 FEA4 move.l [A5 - 0x15C], D0 000002B2 6000 0122 bra +0x124 /* 000003D6 */ label000002B6: 000002B6 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000002BA 2068 0004 movea.l A0, [A0 + 0x4] 000002BE 302D FEA8 move.w D0, [A5 - 0x158] 000002C2 B050 cmp.w D0, [A0] 000002C4 670C beq +0xE /* 000002D2 */ 000002C6 2F3C 8000 0000 move.l -[A7], 0x80000000 000002CC 4EBA 013C jsr [PC + 0x13C /* 0000040A */] 000002D0 584F addq.w A7, 4 label000002D2: 000002D2 41ED FEA8 lea.l A0, [A5 - 0x158] 000002D6 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */] 000002DA 2269 0004 movea.l A1, [A1 + 0x4] 000002DE 2348 0024 move.l [A1 + 0x24], A0 000002E2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000002E6 2B68 0004 FECC move.l [A5 - 0x134], [A0 + 0x4] 000002EC 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000002F0 2068 0004 movea.l A0, [A0 + 0x4] 000002F4 2B68 0002 FEAA move.l [A5 - 0x156], [A0 + 0x2] 000002FA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000002FE 2068 0004 movea.l A0, [A0 + 0x4] 00000302 2B68 0006 FEAE move.l [A5 - 0x152], [A0 + 0x6] 00000308 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 0000030C 2068 0004 movea.l A0, [A0 + 0x4] 00000310 2B68 000A FEB2 move.l [A5 - 0x14E], [A0 + 0xA] 00000316 4A87 tst.l D7 00000318 672C beq +0x2E /* 00000346 */ 0000031A 286D FEAE movea.l A4, [A5 - 0x152] 0000031E 600C bra +0xE /* 0000032C */ label00000320: 00000320 598F subq.l A7, 4 00000322 2F14 move.l -[A7], [A4] 00000324 4EBA 040A jsr [PC + 0x40A /* 00000730 */] 00000328 584F addq.w A7, 4 0000032A 584C addq.w A4, 4 label0000032C: 0000032C 4A94 tst.l [A4] 0000032E 66F0 bne -0xE /* 00000320 */ 00000330 286D FEB2 movea.l A4, [A5 - 0x14E] 00000334 600C bra +0xE /* 00000342 */ label00000336: 00000336 598F subq.l A7, 4 00000338 2F14 move.l -[A7], [A4] 0000033A 4EBA 03F4 jsr [PC + 0x3F4 /* 00000730 */] 0000033E 584F addq.w A7, 4 00000340 584C addq.w A4, 4 label00000342: 00000342 4A94 tst.l [A4] 00000344 66F0 bne -0xE /* 00000336 */ label00000346: 00000346 200B move.l D0, A3 00000348 6704 beq +0x6 /* 0000034E */ 0000034A 26AD FEAA move.l [A3], [A5 - 0x156] label0000034E: 0000034E 4AAE 0010 tst.l [A6 + 0x10] 00000352 6708 beq +0xA /* 0000035C */ 00000354 206E 0010 movea.l A0, [A6 + 0x10] 00000358 20AD FEAE move.l [A0], [A5 - 0x152] label0000035C: 0000035C 4AAE 0014 tst.l [A6 + 0x14] 00000360 6708 beq +0xA /* 0000036A */ 00000362 206E 0014 movea.l A0, [A6 + 0x14] 00000366 20AD FEB2 move.l [A0], [A5 - 0x14E] label0000036A: 0000036A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 0000036E 2068 0004 movea.l A0, [A0 + 0x4] 00000372 4AA8 0020 tst.l [A0 + 0x20] 00000376 6754 beq +0x56 /* 000003CC */ 00000378 7078 moveq.l D0, 0x78 0000037A A11E trap NewPtr, flags=1 0000037C 2B48 FEC8 move.l [A5 - 0x138], A0 00000380 660A bne +0xC /* 0000038C */ 00000382 7002 moveq.l D0, 0x02 00000384 2F00 move.l -[A7], D0 00000386 4EBA 0082 jsr [PC + 0x82 /* 0000040A */] 0000038A 584F addq.w A7, 4 label0000038C: 0000038C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 00000390 2068 0004 movea.l A0, [A0 + 0x4] 00000394 2668 0020 movea.l A3, [A0 + 0x20] 00000398 7E00 moveq.l D7, 0x00 0000039A 7605 moveq.l D3, 0x05 label0000039C: 0000039C 2207 move.l D1, D7 0000039E 2001 move.l D0, D1 000003A0 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF 000003A2 0018 4840 ori.b [A0]+, 0x40 /* '@' */ 000003A6 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF 000003A8 0018 4840 ori.b [A0]+, 0x40 /* '@' */ 000003AC 4240 clr.w D0 000003AE D280 add.l D1, D0 000003B0 2C01 move.l D6, D1 000003B2 206D FEC8 movea.l A0, [A5 - 0x138] 000003B6 43F3 6800 lea.l A1, [A3 + D6] 000003BA 45F0 6800 lea.l A2, [A0 + D6] 000003BE 7005 moveq.l D0, 0x05 label000003C0: 000003C0 24D9 move.l [A2]+, [A1]+ 000003C2 51C8 FFFC dbf D0, -0x6 /* 000003C0 */ 000003C6 5287 addq.l D7, 1 000003C8 B687 cmp.l D3, D7 000003CA 6ED0 bgt -0x2E /* 0000039C */ label000003CC: 000003CC 4EBA FCBA jsr [PC - 0x346 /* 00000088 */] 000003D0 7000 moveq.l D0, 0x00 000003D2 2B40 FEA4 move.l [A5 - 0x15C], D0 label000003D6: 000003D6 4CEE 1CC8 FFE8 movem.l A4,A3,A2,D7,D6,D3, [A6 - 0x18] 000003DC 4E5E unlink A6 000003DE 4E75 rts 000003E0 875F or.w [A7]+, D3 000003E2 5254 addq.w [A4], 1 000003E4 496E 6974 chk.w D4, [A6 + 0x6974] 000003E8 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 000003EA-000003F4 fn000003EA: 000003EA 4E56 0000 link A6, 0 000003EE 203C 00FF FFFF move.l D0, 0xFFFFFF // end alternate branch 000003EA-000003F4 fn000003EA: // (misaligned) 000003EC 0000 203C ori.b D0, 0x3C /* '<' */ 000003F0 00FF ori.? <>, 0xFFFFFFFFFFFFFFFF 000003F2 FFFF .extension 0xFFF // unimplemented 000003F4 C0AE 0008 and.l D0, [A6 + 0x8] 000003F8 2F00 move.l -[A7], D0 000003FA 4EBA 000E jsr [PC + 0xE /* 0000040A */] 000003FE 4E5E unlink A6 00000400 4E75 rts 00000402 8465 or.w D2, -[A5] 00000404 7869 moveq.l D4, 0x69 00000406 7400 moveq.l D2, 0x00 00000408 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 0000040A-00000410 fn0000040A: 0000040A 4E56 0000 link A6, 0 0000040E 2F0C move.l -[A7], A4 // end alternate branch 0000040A-00000410 fn0000040A: // (misaligned) 0000040C 0000 2F0C ori.b D0, 0xC 00000410 206D FEBE movea.l A0, [A5 - 0x142] 00000414 49E8 008C lea.l A4, [A0 + 0x8C] 00000418 600A bra +0xC /* 00000424 */ label0000041A: 0000041A 4A94 tst.l [A4] 0000041C 6704 beq +0x6 /* 00000422 */ 0000041E 2054 movea.l A0, [A4] 00000420 4E90 jsr [A0] label00000422: 00000422 594C subq.w A4, 4 label00000424: 00000424 206D FEBE movea.l A0, [A5 - 0x142] 00000428 B1CC cmpa.l A0, A4 0000042A 65EE bcs -0x10 /* 0000041A */ 0000042C 4AAD FECC tst.l [A5 - 0x134] 00000430 670A beq +0xC /* 0000043C */ 00000432 206D FECC movea.l A0, [A5 - 0x134] 00000436 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8] label0000043C: 0000043C 4AAD FFB2 tst.l [A5 - 0x4E] 00000440 660A bne +0xC /* 0000044C */ 00000442 206D FEBE movea.l A0, [A5 - 0x142] 00000446 2250 movea.l A1, [A0] 00000448 4E91 jsr [A1] 0000044A 600E bra +0x10 /* 0000045A */ label0000044C: 0000044C 7001 moveq.l D0, 0x01 0000044E 2F00 move.l -[A7], D0 00000450 486D FF9A pea.l [A5 - 0x66] 00000454 4EBA 00B8 jsr [PC + 0xB8 /* 0000050E */] 00000458 504F addq.w A7, 8 label0000045A: 0000045A 286E FFFC movea.l A4, [A6 - 0x4] 0000045E 4E5E unlink A6 00000460 4E75 rts 00000462 875F or.w [A7]+, D3 00000464 5254 addq.w [A4], 1 00000466 4578 6974 chk.w D2, [0x00006974] 0000046A 0000 222F ori.b D0, 0x2F /* '/' */ 0000046E 0004 202F ori.b D4, 0x2F /* '/' */ 00000472 0008 4EBA ori.b A0, 0xBA // begin alternate branch 00000474-0000047A fn00000474: 00000474 4EBA 000E jsr [PC + 0xE /* 00000484 */] 00000478 2001 move.l D0, D1 // end alternate branch 00000474-0000047A fn00000474: // (misaligned) 00000476 000E 2001 ori.b A6, 0x1 0000047A 4E75 rts 0000047C 222F 0004 move.l D1, [A7 + 0x4] 00000480 202F 0008 move.l D0, [A7 + 0x8] fn00000484: 00000484 48E7 0600 movem.l -[A7], D5,D6 00000488 2A00 move.l D5, D0 0000048A 6A02 bpl +0x4 /* 0000048E */ 0000048C 4480 neg.l D0 label0000048E: 0000048E 2C01 move.l D6, D1 00000490 6A02 bpl +0x4 /* 00000494 */ 00000492 4481 neg.l D1 label00000494: 00000494 4EBA 001C jsr [PC + 0x1C /* 000004B2 */] 00000498 4A85 tst.l D5 0000049A 6A02 bpl +0x4 /* 0000049E */ 0000049C 4480 neg.l D0 label0000049E: 0000049E BB86 xor.l D6, D5 000004A0 6A02 bpl +0x4 /* 000004A4 */ 000004A2 4481 neg.l D1 label000004A4: 000004A4 4CDF 0060 movem.l D6,D5, [A7]+ 000004A8 4E75 rts 000004AA 222F 0004 move.l D1, [A7 + 0x4] 000004AE 202F 0008 move.l D0, [A7 + 0x8] fn000004B2: 000004B2 48E7 3800 movem.l -[A7], D2,D3,D4 000004B6 2401 move.l D2, D1 000004B8 4842 swap.w D2 000004BA 4A42 tst.w D2 000004BC 661C bne +0x1E /* 000004DA */ 000004BE 3600 move.w D3, D0 000004C0 4240 clr.w D0 000004C2 4840 swap.w D0 000004C4 6704 beq +0x6 /* 000004CA */ 000004C6 80C1 divu.w D0, D1 000004C8 3400 move.w D2, D0 label000004CA: 000004CA 4842 swap.w D2 000004CC 3003 move.w D0, D3 000004CE 80C1 divu.w D0, D1 000004D0 3400 move.w D2, D0 000004D2 2202 move.l D1, D2 000004D4 4240 clr.w D0 000004D6 4840 swap.w D0 000004D8 6022 bra +0x24 /* 000004FC */ label000004DA: 000004DA 2400 move.l D2, D0 000004DC 4240 clr.w D0 000004DE 4840 swap.w D0 000004E0 4842 swap.w D2 000004E2 4242 clr.w D2 000004E4 2601 move.l D3, D1 000004E6 7200 moveq.l D1, 0x00 000004E8 780F moveq.l D4, 0x0F label000004EA: 000004EA D482 add.l D2, D2 000004EC D180 addx.l D0, D0 000004EE D281 add.l D1, D1 000004F0 B083 cmp.l D0, D3 000004F2 6504 bcs +0x6 /* 000004F8 */ 000004F4 9083 sub.l D0, D3 000004F6 5201 addq.b D1, 1 label000004F8: 000004F8 51CC FFF0 dbf D4, -0x12 /* 000004EA */ label000004FC: 000004FC 4CDF 001C movem.l D4,D3,D2, [A7]+ 00000500 4E75 rts fn00000502: 00000502 225F movea.l A1, [A7]+ 00000504 2057 movea.l A0, [A7] 00000506 48D0 DEFC movem.l [A0], A7,A6,A4,A3,A2,A1,D7,D6,D5,D4,D3,D2 0000050A 7000 moveq.l D0, 0x00 0000050C 4ED1 jmp [A1] fn0000050E: 0000050E 202F 0008 move.l D0, [A7 + 0x8] 00000512 6602 bne +0x4 /* 00000516 */ 00000514 7001 moveq.l D0, 0x01 label00000516: 00000516 206F 0004 movea.l A0, [A7 + 0x4] 0000051A 4CD0 DEFC movem.l A7,A6,A4,A3,A2,A1,D7,D6,D5,D4,D3,D2, [A0] 0000051E 4ED1 jmp [A1] export_2: 00000520 225F movea.l A1, [A7]+ 00000522 201F move.l D0, [A7]+ 00000524 A122 trap NewHandle, flags=1 00000526 2E88 move.l [A7], A0 00000528 4ED1 jmp [A1] export_3: fn0000052A: 0000052A 225F movea.l A1, [A7]+ 0000052C 205F movea.l A0, [A7]+ 0000052E A025 trap GetHandleSize 00000530 2E80 move.l [A7], D0 00000532 6A02 bpl +0x4 /* 00000536 */ 00000534 4297 clr.l [A7] label00000536: 00000536 4ED1 jmp [A1] export_4: 00000538 221F move.l D1, [A7]+ 0000053A 201F move.l D0, [A7]+ 0000053C 225F movea.l A1, [A7]+ 0000053E 205F movea.l A0, [A7]+ 00000540 A02E trap BlockMove/BlockMoveData 00000542 2241 movea.l A1, D1 00000544 4ED1 jmp [A1] export_5: 00000546 225F movea.l A1, [A7]+ 00000548 301F move.w D0, [A7]+ 0000054A A146 trap GetTrapAddress, flags=1 0000054C 2E88 move.l [A7], A0 0000054E 4ED1 jmp [A1] export_6: 00000550 225F movea.l A1, [A7]+ 00000552 121F move.b D1, [A7]+ 00000554 301F move.w D0, [A7]+ 00000556 4A01 tst.b D1 00000558 6704 beq +0x6 /* 0000055E */ 0000055A A746 trap GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 0000055C 6002 bra +0x4 /* 00000560 */ label0000055E: 0000055E A346 trap GetOSTrapAddress, flags=3 label00000560: 00000560 2E88 move.l [A7], A0 00000562 4ED1 jmp [A1] export_7: 00000564 225F movea.l A1, [A7]+ 00000566 205F movea.l A0, [A7]+ 00000568 20B8 020C move.l [A0], [0x0000020C /* Time */] 0000056C 4ED1 jmp [A1] export_8: 0000056E 201F move.l D0, [A7]+ 00000570 225F movea.l A1, [A7]+ 00000572 205F movea.l A0, [A7]+ 00000574 2F00 move.l -[A7], D0 00000576 A03B trap Delay 00000578 2280 move.l [A1], D0 0000057A 4E75 rts export_9: 0000057C 225F movea.l A1, [A7]+ 0000057E 121F move.b D1, [A7]+ 00000580 205F movea.l A0, [A7]+ 00000582 7000 moveq.l D0, 0x00 00000584 1018 move.b D0, [A0]+ 00000586 2F09 move.l -[A7], A1 00000588 4A01 tst.b D1 0000058A 6704 beq +0x6 /* 00000590 */ 0000058C A054 trap UprString/UprText 0000058E 6002 bra +0x4 /* 00000592 */ label00000590: 00000590 A254 trap UprString/UprText, flags=2 label00000592: 00000592 4E75 rts export_10: 00000594 4E56 FFCE link A6, -0x0032 00000598 204F movea.l A0, A7 0000059A 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE] 000005A0 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC] 000005A6 4228 001A clr.b [A0 + 0x1A] 000005AA 4228 001B clr.b [A0 + 0x1B] 000005AE 42A8 001C clr.l [A0 + 0x1C] 000005B2 701A moveq.l D0, 0x1A 000005B4 A060 trap FSDispatch/HFSDispatch 000005B6 0C40 FFCE cmpi.w D0, 0xFFCE 000005BA 6602 bne +0x4 /* 000005BE */ 000005BC A000 trap Open/PBHOpen/HOpen label000005BE: 000005BE 226E 0008 movea.l A1, [A6 + 0x8] 000005C2 32A8 0018 move.w [A1], [A0 + 0x18] 000005C6 3D40 0012 move.w [A6 + 0x12], D0 000005CA 4E5E unlink A6 000005CC 205F movea.l A0, [A7]+ 000005CE 4FEF 000A lea.l A7, [A7 + 0xA] 000005D2 4ED0 jmp [A0] export_11: 000005D4 4E56 FFCE link A6, -0x0032 000005D8 204F movea.l A0, A7 000005DA 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8] 000005E0 A001 trap Close 000005E2 3D40 000A move.w [A6 + 0xA], D0 000005E6 4E5E unlink A6 000005E8 205F movea.l A0, [A7]+ 000005EA 548F addq.l A7, 2 000005EC 4ED0 jmp [A0] 000005EE 51C1 sf D1 000005F0 6002 bra +0x4 /* 000005F4 */ export_12: 000005F2 50C1 st D1 label000005F4: 000005F4 4E56 FFCE link A6, -0x0032 000005F8 204F movea.l A0, A7 000005FA 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8] 00000600 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10] 00000606 226E 000C movea.l A1, [A6 + 0xC] 0000060A 2151 0024 move.l [A0 + 0x24], [A1] 0000060E 4268 002C clr.w [A0 + 0x2C] 00000612 42A8 002E clr.l [A0 + 0x2E] 00000616 4A01 tst.b D1 00000618 6604 bne +0x6 /* 0000061E */ 0000061A A002 trap Read 0000061C 6002 bra +0x4 /* 00000620 */ label0000061E: 0000061E A003 trap Write label00000620: 00000620 3D40 0012 move.w [A6 + 0x12], D0 00000624 226E 000C movea.l A1, [A6 + 0xC] 00000628 22A8 0028 move.l [A1], [A0 + 0x28] 0000062C 4E5E unlink A6 0000062E 225F movea.l A1, [A7]+ 00000630 4FEF 000A lea.l A7, [A7 + 0xA] 00000634 4ED1 jmp [A1] export_13: 00000636 4E56 FFC0 link A6, -0x0040 0000063A 204F movea.l A0, A7 0000063C 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA] 00000642 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8] 00000648 A015 trap SetVol/PBHSetVol/HSetVol 0000064A 3D40 000E move.w [A6 + 0xE], D0 0000064E 4E5E unlink A6 00000650 225F movea.l A1, [A7]+ 00000652 5C8F addq.l A7, 6 00000654 4ED1 jmp [A1] export_14: 00000656 4E56 FFC0 link A6, -0x0040 0000065A 204F movea.l A0, A7 0000065C 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8] 00000662 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA] 00000668 A013 trap FlushVol 0000066A 3D40 000E move.w [A6 + 0xE], D0 0000066E 4E5E unlink A6 00000670 225F movea.l A1, [A7]+ 00000672 5C8F addq.l A7, 6 00000674 4ED1 jmp [A1] export_15: 00000676 4E56 FFB0 link A6, -0x0050 0000067A 204F movea.l A0, A7 0000067C 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12] 00000682 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10] 00000688 4228 001A clr.b [A0 + 0x1A] 0000068C A008 trap Create/PBHCreate/HCreate 0000068E 6616 bne +0x18 /* 000006A6 */ 00000690 4268 001C clr.w [A0 + 0x1C] 00000694 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo 00000696 660E bne +0x10 /* 000006A6 */ 00000698 43E8 0020 lea.l A1, [A0 + 0x20] 0000069C 22EE 0008 move.l [A1]+, [A6 + 0x8] 000006A0 22AE 000C move.l [A1], [A6 + 0xC] 000006A4 A00D trap SetFileInfo/PBHSetFInfo/HSetFileInfo label000006A6: 000006A6 3D40 0016 move.w [A6 + 0x16], D0 000006AA 4E5E unlink A6 000006AC 225F movea.l A1, [A7]+ 000006AE 4FEF 000E lea.l A7, [A7 + 0xE] 000006B2 4ED1 jmp [A1] export_16: 000006B4 4E56 FFCE link A6, -0x0032 000006B8 204F movea.l A0, A7 000006BA 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA] 000006C0 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8] 000006C6 4228 001A clr.b [A0 + 0x1A] 000006CA A009 trap Delete/PBHDelete/HDelete 000006CC 3D40 000E move.w [A6 + 0xE], D0 000006D0 4E5E unlink A6 000006D2 225F movea.l A1, [A7]+ 000006D4 5C8F addq.l A7, 6 000006D6 4ED1 jmp [A1] export_17: 000006D8 225F movea.l A1, [A7]+ 000006DA 205F movea.l A0, [A7]+ 000006DC 301F move.w D0, [A7]+ 000006DE A030 trap OSEventAvail 000006E0 5240 addq.w D0, 1 000006E2 1E80 move.b [A7], D0 000006E4 4ED1 jmp [A1] export_18: 000006E6 A166 trap NewEmptyHandle, flags=1 000006E8 2F48 0004 move.l [A7 + 0x4], A0 000006EC 4E75 rts export_19: 000006EE 206F 0004 movea.l A0, [A7 + 0x4] 000006F2 2050 movea.l A0, [A0] 000006F4 A9E1 trap HandToHand 000006F6 226F 0004 movea.l A1, [A7 + 0x4] 000006FA 2288 move.l [A1], A0 000006FC 3F40 0008 move.w [A7 + 0x8], D0 00000700 2E9F move.l [A7], [A7]+ 00000702 4E75 rts export_20: 00000704 202F 0004 move.l D0, [A7 + 0x4] 00000708 226F 0008 movea.l A1, [A7 + 0x8] 0000070C 206F 000C movea.l A0, [A7 + 0xC] 00000710 A9EF trap PtrAndHand 00000712 3F40 0010 move.w [A7 + 0x10], D0 00000716 205F movea.l A0, [A7]+ 00000718 4FEF 000C lea.l A7, [A7 + 0xC] 0000071C 4ED0 jmp [A0] export_21: 0000071E 206F 0004 movea.l A0, [A7 + 0x4] 00000722 202F 0008 move.l D0, [A7 + 0x8] 00000726 4267 clr.w -[A7] 00000728 A9EE trap Pack7/DecStr68K 0000072A 205F movea.l A0, [A7]+ 0000072C 504F addq.w A7, 8 0000072E 4ED0 jmp [A0] fn00000730: 00000730 202F 0004 move.l D0, [A7 + 0x4] 00000734 2F40 0008 move.l [A7 + 0x8], D0 00000738 6726 beq +0x28 /* 00000760 */ 0000073A 2040 movea.l A0, D0 0000073C 2248 movea.l A1, A0 0000073E 1019 move.b D0, [A1]+ 00000740 671E beq +0x20 /* 00000760 */ label00000742: 00000742 1211 move.b D1, [A1] 00000744 12C0 move.b [A1]+, D0 00000746 1001 move.b D0, D1 00000748 66F8 bne -0x6 /* 00000742 */ 0000074A 93C8 sub.l A1, A0 0000074C 2009 move.l D0, A1 0000074E 5340 subq.w D0, 1 00000750 0C80 0000 00FF cmpi.l D0, 0xFF 00000756 6F06 ble +0x8 /* 0000075E */ 00000758 203C 0000 00FF move.l D0, 0xFF label0000075E: 0000075E 1080 move.b [A0], D0 label00000760: 00000760 225F movea.l A1, [A7]+ 00000762 584F addq.w A7, 4 00000764 4ED1 jmp [A1] fn00000766: 00000766 225F movea.l A1, [A7]+ 00000768 201F move.l D0, [A7]+ 0000076A 2E80 move.l [A7], D0 0000076C 6712 beq +0x14 /* 00000780 */ 0000076E 2040 movea.l A0, D0 00000770 7000 moveq.l D0, 0x00 00000772 1010 move.b D0, [A0] 00000774 6004 bra +0x6 /* 0000077A */ label00000776: 00000776 10E8 0001 move.b [A0]+, [A0 + 0x1] label0000077A: 0000077A 51C8 FFFA dbf D0, -0x8 /* 00000776 */ 0000077E 4210 clr.b [A0] label00000780: 00000780 4ED1 jmp [A1] fn00000782: 00000782 4E75 rts fn00000784: 00000784 226F 0004 movea.l A1, [A7 + 0x4] 00000788 4878 0001 pea.l [0x00000001] 0000078C 486D FD7A pea.l [A5 - 0x286] 00000790 486D FFCE pea.l [A5 - 0x32] 00000794 486D FFCA pea.l [A5 - 0x36] 00000798 2F09 move.l -[A7], A1 0000079A 4EBA FA56 jsr [PC - 0x5AA /* 000001F2 */] 0000079E 72FF moveq.l D1, 0xFFFFFFFF 000007A0 B041 cmp.w D0, D1 000007A2 6718 beq +0x1A /* 000007BC */ 000007A4 4FEF 0014 lea.l A7, [A7 + 0x14] 000007A8 486D FF9A pea.l [A5 - 0x66] 000007AC 4EBA FD54 jsr [PC - 0x2AC /* 00000502 */] 000007B0 584F addq.w A7, 4 000007B2 4A80 tst.l D0 000007B4 6610 bne +0x12 /* 000007C6 */ 000007B6 4EAD 02C2 jsr [A5 + 0x2C2] 000007BA 4E75 rts label000007BC: 000007BC 487A 000C pea.l [PC + 0xC /* 000007CA, pstring "Data initialization failed!" */] 000007C0 303C FE15 move.w D0, 0xFE15 000007C4 A9C9 trap SysError label000007C6: 000007C6 584F addq.w A7, 4 000007C8 4E75 rts 000007CA 1B44 6174 move.b [A5 + 0x6174], D4 000007CE 6120 bsr +0x22 /* 000007F0 */ 000007D0 696E bvs +0x70 /* 00000840 */ 000007D2 6974 bvs +0x76 /* 00000848 */ 000007D4 6961 bvs +0x63 /* 00000837 */ 000007D6 6C69 bge +0x6B /* 00000841 */ 000007D8 7A61 moveq.l D5, 0x61 000007DA 7469 moveq.l D2, 0x69 000007DC 6F6E ble +0x70 /* 0000084C */ 000007DE 2066 movea.l A0, -[A6] 000007E0 6169 bsr +0x6B /* 0000084B */ 000007E2 6C65 bge +0x67 /* 00000849 */ 000007E4 6421 bcc +0x23 /* 00000807 */ fn000007E6: 000007E6 42A7 clr.l -[A7] 000007E8 4EBA FC00 jsr [PC - 0x400 /* 000003EA */] fn000007EC: 000007EC 42A7 clr.l -[A7] 000007EE 4EBA FBFA jsr [PC - 0x406 /* 000003EA */]